package org.learn.java.dubbo.rest;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Demo {

	/**
	 * @param args
	 * @throws InterruptedException 
	 */
	public static void main(String[] args) throws InterruptedException {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring-context.xml");  
    	context.start();
		System.out.println("login管理服务启动成功!");
		// 禁止服务停止,线程睡眠可以降低CPU资源消耗1/4
		for(;;){Thread.sleep(Long.MAX_VALUE);}

	}

}
